home *** CD-ROM | disk | FTP | other *** search
-
- /*
- Created with Object C 2.7.1 for ATARI TOS
- Methods & Types
- */
-
- #ifndef _INCL_module
- #define _INCL_module
-
-
-
- typedef enum {
- OB_Cstr = 1 /* Module 0 */,
- OB_Pstr,
- OBJ_TYPES_0
- }Classes0;
-
-
-
-
-
- OBJ_BEGDAT
- OBJ_DATPARENTS(0)
- Char value[250];
- OBJ_ENDDAT(_O_Cstr)
- #define _OP_Cstr {OBJ_NOCLASS}
- #define _ODBl_Cstr {"Char value", ""}
- #define _ODBn_Cstr 1
- #define _OBJi_Cstr { static char _ini_ = (char)0; if (!_ini_) { _ini_ = (char)1; \
- _O_oCstr[0] = STRUCTOFFS((_O_Cstr STAR)0, value);\
- _O_oCstr[1] = 0; }}
- #define _ODBs_Cstr {(short)sizeof(((_O_Cstr STAR)0)->value), 0}
-
-
- OBJ_BEGDAT
- OBJ_DATPARENTS(0)
- Int len;
- Char value[250];
- OBJ_ENDDAT(_O_Pstr)
- #define _OP_Pstr {OBJ_NOCLASS}
- #define _ODBl_Pstr {"Int len", "Char value", ""}
- #define _ODBn_Pstr 2
- #define _OBJi_Pstr { static char _ini_ = (char)0; if (!_ini_) { _ini_ = (char)1; \
- _O_oPstr[0] = STRUCTOFFS((_O_Pstr STAR)0, len);\
- _O_oPstr[1] = STRUCTOFFS((_O_Pstr STAR)0, value);\
- _O_oPstr[2] = 0; }}
- #define _ODBs_Pstr {(short)sizeof(((_O_Pstr STAR)0)->len), (short)sizeof(((_O_Pstr STAR)0)->value), 0}
-
-
-
-
- #endif /* of _INCL_module */
-
-